package com.caimiao.miao.bean;

public class Device {
    private String deviceId;
    private String batteryStatus;
    private String netStatus;
    private double latitude;
    private double longitude;
    private String locType;
    private String online;

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getBatteryStatus() {
        return batteryStatus;
    }

    public void setBatteryStatus(String batteryStatus) {
        this.batteryStatus = batteryStatus;
    }

    public String getNetStatus() {
        return netStatus;
    }

    public void setNetStatus(String netStatus) {
        this.netStatus = netStatus;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public String getLocType() {
        return locType;
    }

    public void setLocType(String locType) {
        this.locType = locType;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("deviceId: ").append(deviceId)
                .append("\nbatteryStatus: ").append(batteryStatus)
                .append("\nnetStatus: ").append(netStatus)
                .append("\nlatitude: ").append(latitude)
                .append("\nlongitude: ").append(longitude)
                .append("\nlocType: ").append(locType);
        return sb.toString();
    }
}
